3.97 \(\int x^8 (a+b \tan ^{-1}(c x^3)) \, dx\)

Optimal. Leaf size=47 \[ \frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac {b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac {b x^6}{18 c} \]

[Out]

-1/18*b*x^6/c+1/9*x^9*(a+b*arctan(c*x^3))+1/18*b*ln(c^2*x^6+1)/c^3

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {5033, 266, 43} \[ \frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac {b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac {b x^6}{18 c} \]

Antiderivative was successfully verified.

[In]

Int[x^8*(a + b*ArcTan[c*x^3]),x]

[Out]

-(b*x^6)/(18*c) + (x^9*(a + b*ArcTan[c*x^3]))/9 + (b*Log[1 + c^2*x^6])/(18*c^3)

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 5033

Int[((a_.) + ArcTan[(c_.)*(x_)^(n_)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*ArcTan
[c*x^n]))/(d*(m + 1)), x] - Dist[(b*c*n)/(d*(m + 1)), Int[(x^(n - 1)*(d*x)^(m + 1))/(1 + c^2*x^(2*n)), x], x]
/; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^8 \left (a+b \tan ^{-1}\left (c x^3\right )\right ) \, dx &=\frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac {1}{3} (b c) \int \frac {x^{11}}{1+c^2 x^6} \, dx\\ &=\frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac {1}{18} (b c) \operatorname {Subst}\left (\int \frac {x}{1+c^2 x} \, dx,x,x^6\right )\\ &=\frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )-\frac {1}{18} (b c) \operatorname {Subst}\left (\int \left (\frac {1}{c^2}-\frac {1}{c^2 \left (1+c^2 x\right )}\right ) \, dx,x,x^6\right )\\ &=-\frac {b x^6}{18 c}+\frac {1}{9} x^9 \left (a+b \tan ^{-1}\left (c x^3\right )\right )+\frac {b \log \left (1+c^2 x^6\right )}{18 c^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 52, normalized size = 1.11 \[ \frac {a x^9}{9}+\frac {b \log \left (c^2 x^6+1\right )}{18 c^3}-\frac {b x^6}{18 c}+\frac {1}{9} b x^9 \tan ^{-1}\left (c x^3\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^8*(a + b*ArcTan[c*x^3]),x]

[Out]

-1/18*(b*x^6)/c + (a*x^9)/9 + (b*x^9*ArcTan[c*x^3])/9 + (b*Log[1 + c^2*x^6])/(18*c^3)

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 51, normalized size = 1.09 \[ \frac {2 \, b c^{3} x^{9} \arctan \left (c x^{3}\right ) + 2 \, a c^{3} x^{9} - b c^{2} x^{6} + b \log \left (c^{2} x^{6} + 1\right )}{18 \, c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="fricas")

[Out]

1/18*(2*b*c^3*x^9*arctan(c*x^3) + 2*a*c^3*x^9 - b*c^2*x^6 + b*log(c^2*x^6 + 1))/c^3

________________________________________________________________________________________

giac [A]  time = 0.81, size = 47, normalized size = 1.00 \[ \frac {2 \, a c x^{9} + {\left (2 \, c x^{9} \arctan \left (c x^{3}\right ) - x^{6} + \frac {\log \left (c^{2} x^{6} + 1\right )}{c^{2}}\right )} b}{18 \, c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="giac")

[Out]

1/18*(2*a*c*x^9 + (2*c*x^9*arctan(c*x^3) - x^6 + log(c^2*x^6 + 1)/c^2)*b)/c

________________________________________________________________________________________

maple [A]  time = 0.03, size = 45, normalized size = 0.96 \[ \frac {x^{9} a}{9}+\frac {b \,x^{9} \arctan \left (c \,x^{3}\right )}{9}-\frac {b \,x^{6}}{18 c}+\frac {b \ln \left (c^{2} x^{6}+1\right )}{18 c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^8*(a+b*arctan(c*x^3)),x)

[Out]

1/9*x^9*a+1/9*b*x^9*arctan(c*x^3)-1/18*b*x^6/c+1/18*b*ln(c^2*x^6+1)/c^3

________________________________________________________________________________________

maxima [A]  time = 0.31, size = 48, normalized size = 1.02 \[ \frac {1}{9} \, a x^{9} + \frac {1}{18} \, {\left (2 \, x^{9} \arctan \left (c x^{3}\right ) - {\left (\frac {x^{6}}{c^{2}} - \frac {\log \left (c^{2} x^{6} + 1\right )}{c^{4}}\right )} c\right )} b \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8*(a+b*arctan(c*x^3)),x, algorithm="maxima")

[Out]

1/9*a*x^9 + 1/18*(2*x^9*arctan(c*x^3) - (x^6/c^2 - log(c^2*x^6 + 1)/c^4)*c)*b

________________________________________________________________________________________

mupad [B]  time = 0.38, size = 44, normalized size = 0.94 \[ \frac {a\,x^9}{9}+\frac {b\,\ln \left (c^2\,x^6+1\right )}{18\,c^3}-\frac {b\,x^6}{18\,c}+\frac {b\,x^9\,\mathrm {atan}\left (c\,x^3\right )}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^8*(a + b*atan(c*x^3)),x)

[Out]

(a*x^9)/9 + (b*log(c^2*x^6 + 1))/(18*c^3) - (b*x^6)/(18*c) + (b*x^9*atan(c*x^3))/9

________________________________________________________________________________________

sympy [A]  time = 177.26, size = 133, normalized size = 2.83 \[ \begin {cases} \frac {a x^{9}}{9} + \frac {b x^{9} \operatorname {atan}{\left (c x^{3} \right )}}{9} - \frac {b x^{6}}{18 c} - \frac {i b \sqrt {\frac {1}{c^{2}}} \operatorname {atan}{\left (c x^{3} \right )}}{9 c^{2}} + \frac {b \log {\left (x - \sqrt [6]{-1} \sqrt [6]{\frac {1}{c^{2}}} \right )}}{9 c^{3}} + \frac {b \log {\left (4 x^{2} + 4 \sqrt [6]{-1} x \sqrt [6]{\frac {1}{c^{2}}} + 4 \sqrt [3]{-1} \sqrt [3]{\frac {1}{c^{2}}} \right )}}{9 c^{3}} & \text {for}\: c \neq 0 \\\frac {a x^{9}}{9} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**8*(a+b*atan(c*x**3)),x)

[Out]

Piecewise((a*x**9/9 + b*x**9*atan(c*x**3)/9 - b*x**6/(18*c) - I*b*sqrt(c**(-2))*atan(c*x**3)/(9*c**2) + b*log(
x - (-1)**(1/6)*(c**(-2))**(1/6))/(9*c**3) + b*log(4*x**2 + 4*(-1)**(1/6)*x*(c**(-2))**(1/6) + 4*(-1)**(1/3)*(
c**(-2))**(1/3))/(9*c**3), Ne(c, 0)), (a*x**9/9, True))

________________________________________________________________________________________